<?php
include "../inc/db.php";
$value=$_POST['value'];
$valOld=$_POST['valOld'];
$sql="update tb_expired set kadaluarsa='$value' where kadaluarsa='$valOld';";
mysql_query($sql);
header("location:index.php?mod=set");

?>